projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0fb80d
)
Fix fonts in context menus
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Oct 2014 11:11:43 +0000
(07:11 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Oct 2014 11:11:43 +0000
(07:11 -0400)
Context menus inherit their style from the widget they are attached
to. This can have unexpected effects in particular for font, as can
be seen in gedit or gnome-calculator. Prevent this by resetting
the font of context-menus to the initial value.
gtk/resources/theme/Adwaita/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/resources/theme/Adwaita/_common.scss
b/gtk/resources/theme/Adwaita/_common.scss
index d1cc98db5ab6157efd1d05315a5baa87700c1dab..a4186d8e6d85cccae9eaeec6be7b05f1def602f0 100644
(file)
--- a/
gtk/resources/theme/Adwaita/_common.scss
+++ b/
gtk/resources/theme/Adwaita/_common.scss
@@
-2834,3
+2834,7
@@
GtkVolumeButton.button { padding: 8px; }
padding: 10px;
}
+/* Decouple the font of context menus from their entry/textview */
+.context-menu {
+ font: initial;
+}